projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e6bec3
)
Move declaration before other statements.
author
Jan Djärv
<jan.h.d@swipnet.se>
Sun, 4 Apr 2010 15:29:42 +0000
(17:29 +0200)
committer
Jan Djärv
<jan.h.d@swipnet.se>
Sun, 4 Apr 2010 15:29:42 +0000
(17:29 +0200)
src/xfns.c
patch
|
blob
|
history
diff --git
a/src/xfns.c
b/src/xfns.c
index 8a0e43bcb4855301de5a026ce2901b66a99ee99b..a2065ac19a5a8a365e9cae0f3fbd3aec3bd76a33 100644
(file)
--- a/
src/xfns.c
+++ b/
src/xfns.c
@@
-3156,6
+3156,7
@@
set_machine_and_pid_properties (struct frame *f)
XTextProperty text;
int bytes, stringp;
int do_free_text_value = 0;
+ long pid = (long)getpid();
text.value = x_encode_text (Vsystem_name,
Qcompound_text, 0, &bytes, &stringp,
@@
-3170,7
+3171,6
@@
set_machine_and_pid_properties (struct frame *f)
if (do_free_text_value)
xfree (text.value);
- long pid = (long)getpid();
XChangeProperty (FRAME_X_DISPLAY (f),
FRAME_OUTER_WINDOW (f),
XInternAtom (FRAME_X_DISPLAY (f),